The Functional "C" experience

نویسندگان

  • Pieter H. Hartel
  • Henk L. Muller
  • Hugh Glaser
چکیده

A functional programming language can be taught successfully as a first language, but if there is no follow up the students do not appreciate the functional approach. Following discussions concerning this issue at the 1995 FPLE conference [1] we decided to develop such a follow up by writing a book that teaches C to students who can write simple functional programs. This paper summarises the essence of our approach, which is based on program transformation, and presents our experience teaching functional C at the Universities of Southampton and Bristol.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Post-operative radiotherapy of keloids. A 10-years experience of kilovoltage irradiation

Background: Keloids are benign fibrous dermal tumors originating from skin injury after surgery, piercing or others wounds. Materials and Methods: Sixty-two patients with keloids were treated postoperatively using orthovoltage irradiation. The total dose delivered was 12 Gy in three consecutive days, 4Gy per fraction. Treatment started 24 h after surgery. The median follow-up was 44.5 months. R...

متن کامل

On a functional equation for symmetric linear operators on $C^{*}$ algebras

‎Let $A$ be a $C^{*}$ algebra‎, ‎$T‎: ‎Arightarrow A$ be a linear map which satisfies the functional equation $T(x)T(y)=T^{2}(xy),;;T(x^{*})=T(x)^{*} $‎. ‎We prove that under each of the following conditions‎, ‎$T$ must be the trivial map $T(x)=lambda x$ for some $lambda in mathbb{R}$: ‎‎ ‎i) $A$ is a simple $C^{*}$-algebra‎. ‎ii) $A$ is unital with trivial center and has a faithful trace such ...

متن کامل

Approximate solutions of homomorphisms and derivations of the generalized Cauchy-Jensen functional equation in $C^*$-ternary algebras

In this paper, we prove Hyers-Ulam-Rassias stability of $C^*$-ternary algebra homomorphism for the following generalized Cauchy-Jensen equation $$eta mu fleft(frac{x+y}{eta}+zright) = f(mu x) + f(mu y) +eta f(mu z)$$ for all $mu in mathbb{S}:= { lambda in mathbb{C} : |lambda | =1}$ and for any fixed positive integer $eta geq 2$ on $C^*$-ternary algebras by using fixed poind alternat...

متن کامل

Positive-additive functional equations in non-Archimedean $C^*$-‎algebras

‎Hensel [K‎. ‎Hensel‎, ‎Deutsch‎. ‎Math‎. ‎Verein‎, ‎{6} (1897), ‎83-88.] discovered the $p$-adic number as a‎ ‎number theoretical analogue of power series in complex analysis‎. ‎Fix ‎a prime number $p$‎. ‎for any nonzero rational number $x$‎, ‎there‎ ‎exists a unique integer $n_x inmathbb{Z}$ such that $x = ‎frac{a}{b}p^{n_x}$‎, ‎where $a$ and $b$ are integers not divisible by ‎$p$‎. ‎Then $|x...

متن کامل

Functional Brain Connectivity Differences Between Different ADHD Presentations: Impaired Functional Segregation in ADHD-Combined Presentation but not in ADHD-Inattentive Presentation

Introduction: Contrary to Diagnostic and Statistical Manual of Mental Disorders (DSM-5), fifth edition, some studies indicate that ADHD-inattentive presentation (ADHD-I) is a distinct diagnostic disorder and not an ADHD presentation.  Methods: In this study, 12 ADHD-combined presentation (ADHD-C), 10 ADHD-I, and 13 controls were enrolled and their resting state EEG recorded. Following thi...

متن کامل

A Density Functional Theory Study of Boron Nitride Nano-Ribbons

The electronic and structural properties of pristine and carbon doped (C-doped) boron nitride nano-ribbons(BNNRs) have been studied employing density functional theory (DFT) calculations. Total energies, gapenergies, dipole moments, and quadrupole coupling constants (qcc) have been calculated in the optimizedstructures of the investigated BNNRs. The results indicated that the stability and gap ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • J. Funct. Program.

دوره 14  شماره 

صفحات  -

تاریخ انتشار 2004